package com.eobard.constant;

/**
 * @Author: Eobard Gu
 * @Date: 2025-07-16
 * @Description: TODO
 */
public class SecKillConstant {
    public static final String CONCURRENCY_PRODUCT_SECKILL_LOCK = "product-lock:";

    public static final String SECKILL_EXCHANGE = "seckill.exchange";

    public static final String SECKILL_KEY = "seckill.key";

    public static final String SECKILL_QUEUE = "seckill.queue";


    //============================================================//
    // 延迟订单队列（30分钟后未支付则进入死信队列）
    public static final String ORDER_DELAY_QUEUE = "order.delay.queue";
    public static final String ORDER_DELAY_EXCHANGE = "order.delay.exchange";
    public static final String ORDER_DELAY_ROUTING_KEY = "order.delay.key";

    // 死信队列（真正处理订单取消）
    public static final String ORDER_CANCEL_QUEUE = "order.cancel.queue";
    public static final String ORDER_CANCEL_EXCHANGE = "order.cancel.exchange";
    public static final String ORDER_CANCEL_ROUTING_KEY = "order.cancel.key";

}
